home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 26 / Cream of the Crop 26.iso / doom / addons.zip / TF_ADDON.ZIP / TF-ADDON.RC < prev   
Text File  |  1997-04-08  |  9KB  |  176 lines

  1. //          =--------------------------------=
  2. //          / TeamFortress addon aliases v1.0b \
  3. //          =--------------------------------=
  4.  
  5.  
  6. //  Script name: TF Addon aliases v1.0 beta
  7. //  Script type: Misc. TF aliases
  8. //  Script Author: p3y0t3{23rd.Cav}
  9. //  Authors email: kincaid@sincom.com
  10.  
  11. // [ABOUT]
  12. // This set of aliases is meant for TeamFortress ONLY! This shitz ain't gonna
  13. // work with to much of anything else I am afraid =]
  14. // To load it, at the Quake console type: exec tf-addon.rc (file must be in \ID1 sub-dir of Quake)
  15. // Once loaded, it will display a small menu describing the added bindz.
  16. // Note that there are a couple class specific bindz, but for the most part
  17. // everything can be used by all classes. Lastly, most bindz utilize the six
  18. // block of keys (insert, delete, home, end, page up, page down). So they 
  19. // should be easy for ya to find =]
  20.  
  21. // =------------------------------------------------------------------------------------------------------------------------------------------------------------------------------= \\
  22.  
  23. // [PAUSE ALIASES]
  24. // Because of the nature of iNET gaming, sometimes its needed to "pause" the aliases. The below
  25. // aliases do nothing more than slow things down... ick.
  26. alias p_5 "wait; wait; wait; wait; wait "
  27. alias p_2 "wait; wait "
  28.  
  29. // =------------------------------------------------------------------------------------------------------------------------------------------------------------------------------= \\
  30.  
  31. // [DROPAMMO ALIAS SET START]
  32. // Bindz the "END" key to the duty of dropping ammo.
  33. // Press\hold the END key, then hit 1-5 with button held to drop ammo.
  34. // 1 = Shells | 2 = Nails | 3 = Rockets | 4 = Cells | 5 = Bit o' everything..
  35. alias exec_drop bf
  36. alias +drop_ammo "alias exec_drop echo tF> No ammo dropped!; unbind 1; unbind 2; unbind 3; unbind 4; unbind 5; bind 1 drop_1; bind 2 drop_2; bind 3 drop_3; bind 4 drop_4; bind 5 drop_5; echo tF> Press and hold key; echo tF> Hit 1-5 then release key "
  37. alias -drop_ammo "unbind 1; unbind 2; unbind 3; unbind 4; unbind 5; bind 1 impulse 1; bind 2 impulse 2; bind 3 impulse 3; bind 4 impulse 4; bind 5 impulse 5; exec_drop " 
  38. alias drop_1 "alias exec_drop drop_s "
  39. alias drop_s "echo tF> Droppin some shellz..; dropammo; wait; impulse 1; p_5; dropammo; wait; impulse 1; p_5; dropammo; wait; impulse 1 "
  40. alias drop_2 "alias exec_drop drop_n "
  41. alias drop_n "echo tF> Droppin some nailz..; dropammo; wait; impulse 2; p_5; dropammo; wait; impulse 2; p_5; dropammo; wait; impulse 2 "
  42. alias drop_3 "alias exec_drop drop_r "
  43. alias drop_r "echo tF> Droppin some rocketz..; dropammo; wait; impulse 3; p_5; dropammo; wait; impulse 3; p_5; dropammo; wait; impulse 3 "
  44. alias drop_4 "alias exec_drop drop_c "
  45. alias drop_c "echo tF> Droppin some cellz..; dropammo; wait; impulse 4; p_5; dropammo; wait; impulse 4; p_5; dropammo; wait; impulse 4 "
  46. alias drop_5 "alias exec_drop drop_m "
  47. alias drop_m "echo tF> Droppin a bit of everything; dropammo; wait; impulse 1; p_5; dropammo; wait; impulse 2; p_5; dropammo; wait; impulse 3; p_5; dropammo; wait; impulse 4 "
  48. unbind END
  49. bind END "+drop_ammo"
  50.  
  51. // =------------------------------------------------------------------------------------------------------------------------------------------------------------------------------= \\
  52.  
  53. // [GRENADE ALIAS SETS]
  54. // The below two aliases are for lobbing a type 1 or type 2 grenade.
  55. // Note that these vary between classes, but the action is basically the same.
  56. // Also note that the sniper only has type 1 (normal) grenades...
  57.  
  58. // Grenade type 1.. Bound to "INS\INSERT"
  59. alias grenade_1 "primeone; p_2; wait; -gren1 "
  60. unbind INS
  61. bind INS "grenade_1"
  62.  
  63. // Grenade type 2.. Bound to "DEL\DELETE"
  64. alias grenade_2 "primetwo; p_2; wait; -gren2 "
  65. unbind DEL
  66. bind DEL "grenade_2"
  67.  
  68. // =------------------------------------------------------------------------------------------------------------------------------------------------------------------------------= \\
  69.  
  70. // [mLOOK ON\OFF TOGGLE]
  71. // While not really a TeamFortress specific bind, some people *do* use it.
  72. // Bound to the key "PAGE DOWN"
  73. alias ml_tog ml_off
  74. alias ml_on "+mlook; alias ml_tog ml_off; echo tF> mLOOK has been [ENABLED] "
  75. alias ml_off "-mlook; alias ml_tog ml_on; echo tF> mLOOK has been [DISABLED] "
  76. unbind PGDN
  77. bind PGDN "ml_tog"
  78. +mlook
  79.  
  80. // =------------------------------------------------------------------------------------------------------------------------------------------------------------------------------= \\
  81.  
  82. // [INVENTORY BIND]
  83. // The below bind is for displaying your "inventory" of stuff... Bound to the "HOME" key.
  84. unbind HOME
  85. bind HOME "inv"
  86.  
  87. // =------------------------------------------------------------------------------------------------------------------------------------------------------------------------------= \\
  88.  
  89. // [RELOAD BIND]
  90. // This bind is for forcing a reload of your currently armed weapon.
  91. // Bound to the "PAGE UP" key.
  92. unbind PGUP
  93. bind PGUP "reload"
  94.  
  95. // =------------------------------------------------------------------------------------------------------------------------------------------------------------------------------= \\
  96.  
  97. // [AUTOZOOM BINDS, ETC] *SNIPER ONLY*
  98. // AutoZoom toggle for snipers. Toggles AutoZooming ON\OFF. Bound to the "A" key.
  99. unbind a
  100. bind a "autozoom"
  101.  
  102. // =------------------------------------------------------------------------------------------------------------------------------------------------------------------------------= \\
  103.  
  104. // [SCAN ALIAS] *SCOUT ONLY*
  105. // This is a Scout "scan" alias. Scans 10 clicks for enemies. Bound to the "S" key. 
  106. alias scan_4_enemies "scane; echo tF> Scanning for enemies..; p_5; scan10 "
  107. unbind s
  108. bind s "scan_4_enemies"
  109.  
  110. // =------------------------------------------------------------------------------------------------------------------------------------------------------------------------------= \\
  111.  
  112. // [DETPACK ALIAS SET] *DEMOLITION MAN ONLY*
  113. // This alias set is used to drop a 5, 20 or 50 second detpack.
  114. // Bound to the "D" key... Press and hold in "D", then hit 1-3 for which detpack u wanna drop.
  115. // 1 = 5 second detpack | 2 = 20 second detpack | 3 = 50 second detpack
  116. alias exec_det bf
  117. alias +set_detpack "alias exec_det tF> No detpack armed!; unbind 1; unbind 2; unbind 3; bind 1 det_5; bind 2 det_20; bind 3 det_50; echo tF> Press and hold in key; echo tF> Hit 1-3 then release to arm! "
  118. alias -set_detpack "unbind 1; unbind 2; unbind 3; bind 1 impulse 1; bind 2 impulse 2; bind 3 impulse 3; exec_det"
  119. alias det_5 "alias exec_det det_5sec "
  120. alias det_5sec "det5 "
  121. alias det_20 "alias exec_det det_20sec "
  122. alias det_20sec "det20 "
  123. alias det_50 "alias exec_det det_50sec "
  124. alias det_50sec "det50 "
  125. unbind d
  126. bind d "+set_detpack"
  127.  
  128. // =------------------------------------------------------------------------------------------------------------------------------------------------------------------------------= \\
  129.  
  130. // [LOAD MENU]
  131. // Well, guess this is it! The echoed menu showing available commands... Also the symbolic end 
  132. // of file, so to speak =)
  133. toggleconsole
  134. clear
  135. p_5
  136. p_5
  137. echo "tFì TF Addon aliases loaded OK!"
  138. echo "-----KEY------------USAGE------"
  139. echo "tFì INSERT     = GRENADE TYPE 1"
  140. echo "tFì DELETE     = GRENADE TYPE 2"
  141. echo "tFì HOME       = INVENTORY"
  142. echo "tFì END + 1-5  = DROP AMMO"
  143. echo "tFì PAGE UP    = RELOAD"
  144. echo "tFì PAGE DOWN  = mLOOK TOGGLE"
  145. echo "tFì A          = AUTOZOOM TOGGLE"
  146. echo "tFì S          = ENEMY SCAN"
  147. echo "tFì D + 1-3    = SET DETPACK"
  148.  
  149. // =------------------------------------------------------------------------------------------------------------------------------------------------------------------------------= \\
  150.  
  151. // Welpz, i believe that should pretty much do it. To be perfectly honest with ya, I haven't tested *any*
  152. // of this at all (in this format), but have used other *parts* of it in my previous scripts... So 
  153. // I am most certain that all should work AOK. If you find any buggiez hiding out in it, drop me a line
  154. // at the email addie given at the top of the file. I will be more than happy to remedy the problem ASAP
  155. // and get ya a werkin' copy of it... So frag on! TF rulez Quake, and dun you fergit it!
  156.  
  157. // =-e-O-f,--TeamFortress Addon aliases v1.0 beta by p3y0t3{23rd.Cav}...Ninety-Seven!----------------------------------------------------------------------------------------------= \\
  158.  
  159.  
  160.  
  161.  
  162.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.